﻿@model System.DirectoryServices.AccountManagement.UserPrincipal
@{
    ViewBag.Title = "Account Information";
}
<fieldset>
    <legend>Account Information</legend>
    <br />
    <table>
        <tr>
            <th>
                AccountExpirationDate
            </th>
            <td>
                @Html.DisplayFor(p => p.AccountExpirationDate)
            </td>
        </tr>
        <tr>
            <th>
                AccountLockoutTime
            </th>
            <td>
                @Html.DisplayFor(p => p.AccountLockoutTime)
            </td>
        </tr>
        <tr>
            <th>
                BadLogonCount
            </th>
            <td>
                @Html.DisplayFor(p => p.BadLogonCount)
            </td>
        </tr>
        <tr>
            <th>
                Description
            </th>
            <td>
                @Html.DisplayFor(p => p.Description)
            </td>
        </tr>
        <tr>
            <th>
                DistinguishedName
            </th>
            <td>
                @Html.DisplayFor(p => p.DistinguishedName)
            </td>
        </tr>
        <tr>
            <th>
                Guid
            </th>
            <td>
                @Html.DisplayFor(p => p.Guid)
            </td>
        </tr>
        <tr>
            <th>
                LastBadPasswordAttempt
            </th>
            <td>
                @Html.DisplayFor(p => p.LastBadPasswordAttempt)
            </td>
        </tr>
        <tr>
            <th>
                LastLogon
            </th>
            <td>
                @Html.DisplayFor(p => p.LastLogon)
            </td>
        </tr>
        <tr>
            <th>
                LastPasswordSet
            </th>
            <td>
                @Html.DisplayFor(p => p.LastPasswordSet)
            </td>
        </tr>
        <tr>
            <th>
                PasswordNeverExpires
            </th>
            <td>
                @Html.DisplayFor(p => p.PasswordNeverExpires)
            </td>
        </tr>
        <tr>
            <th>
                PasswordNotRequired
            </th>
            <td>
                @Html.DisplayFor(p => p.PasswordNotRequired)
            </td>
        </tr>
        <tr>
            <th>
                PermittedLogonTimes
            </th>
            <td>
                @Html.DisplayFor(p => p.PermittedLogonTimes)
            </td>
        </tr>
        <tr>
            <th>
                PermittedWorkstations
            </th>
            <td>
                @Html.DisplayFor(p => p.PermittedWorkstations)
            </td>
        </tr>
        <tr>
            <th>
                SamAccountName
            </th>
            <td>
                @Html.DisplayFor(p => p.SamAccountName)
            </td>
        </tr>
        <tr>
            <th>
                ScriptPath
            </th>
            <td>
                @Html.DisplayFor(p => p.ScriptPath)
            </td>
        </tr>
        <tr>
            <th>
                Sid
            </th>
            <td>
                @Html.DisplayFor(p => p.Sid)
            </td>
        </tr>
        <tr>
            <th>
                SmartcardLogonRequired
            </th>
            <td>
                @Html.DisplayFor(p => p.SmartcardLogonRequired)
            </td>
        </tr>
        <tr>
            <th>
                StructuralObjectClass
            </th>
            <td>
                @Html.DisplayFor(p => p.StructuralObjectClass)
            </td>
        </tr>
        <tr>
            <th>
                UserCannotChangePassword
            </th>
            <td>
                @Html.DisplayFor(p => p.UserCannotChangePassword)
            </td>
        </tr>
        <tr>
            <th>
                UserPrincipalName
            </th>
            <td>
                @Html.DisplayFor(p => p.UserPrincipalName)
            </td>
        </tr>
    </table>
</fieldset>
